<% show_file_path = show_file_path(path) %>
<%= link_to(show_file_path, class: "closed_dir") do %>
  <div class="hitarea closed-hitarea expandable-hitarea"></div>
<% end %>
<span class="folder">
  <%= link_to(File.basename(show_file_path), action: :show, path: show_file_path) %>
</span>